python reload class

33

reload class module python -

import sys
del sys.modules['myfile']
from myfile import MyClass
modifiedmc = MyClass()

Comments

Submit
0 Comments